package com.azkj.album.network.utils;


import com.azkj.album.network.Constants;

public class NetworkCommonUtils {

    public static String getHost(String buildType) {
        switch (buildType) {
            case Constants.BUILD_TYPE_DEBUG:
                return Constants.ROOT_URL_DEBUG;
            case Constants.BUILD_TYPE_RELEASE:
            default:
                return Constants.ROOT_URL_RELEASE;
        }
    }
}
